﻿using System;
using Dxr.Police.IACS.Models;
using Dxr.Police.Models;

namespace Dxr.Police.IACS.FullText
{
    public class SHZY_GGZXCSource : DataSourceBase<SHZY_GGZXC>
    {
        protected override void OnInserting(SHZY_GGZXC model, UserInfo user)
        {
            base.OnInserting(model, user);

            model.CREATE_BY = user.Id;
            model.CREATE_DATE = DateTime.Now;
        }
    }

    public class SHZY_GGZXC : ISourceModel
    {
        [Source("主键", Key = true, Skip = true)]
        public int ID { get; set; }


        [Source("车号", Show = true, ShowIndex = 0, Condition = true)]
        public string CH { get; set; }


        public string HYH { get; set; }


        [Source("城市", Show = true, ShowIndex = 1, Condition = true)]
        public string HYCS { get; set; }


        [Source("姓名", Show = true, ShowIndex = 2, Condition = true)]
        public string XM { get; set; }


        public string JCCZ { get; set; }


        public string JCSK { get; set; }


        public string GHCZ { get; set; }


        public string HCSK { get; set; }


        public string CK { get; set; }


        public string YCFS { get; set; }


        public string YCSJ { get; set; }


        public string SF { get; set; }


        public string SF2 { get; set; }


        public string CSSJ { get; set; }


        public string JCZH { get; set; }


        public string JCW { get; set; }


        public string HCZH { get; set; }


        public string HCW { get; set; }


        public string BCJF { get; set; }


        public string KLX { get; set; }


        public string TZJF { get; set; }


        public string JCK { get; set; }


        public string CCBH { get; set; }


        public string HYCSDM { get; set; }


        public string ZH { get; set; }


        public string ZYSSBM { get; set; }


        public string CJRY { get; set; }


        public string ZYCJSJ { get; set; }


        public string DRSJ { get; set; }


        public string DRRY { get; set; }


        public string DRRLXDH { get; set; }


        public string UPDATE_BY { get; set; }

        public DateTime? UPDATE_DATE { get; set; }


        public string DEL_FLAG { get; set; }


        public string CREATE_BY { get; set; }

        [Source("创建时间", Order = true)]
        public DateTime? CREATE_DATE { get; set; }


        public string REMARKS { get; set; }

        public DataType DataType => DataType.Public_Bike;
    }
}
